#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QSql>
#include <QSqlQueryModel>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QString>
#include <QSqlError>
#include <QSqlRecord>

QT_BEGIN_NAMESPACE
namespace Ui {class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

    QSqlDatabase dbconn;

private slots:
    void on_actiontips_triggered();

    void on_actioncopyright_triggered();

    void on_mainwindow_regist_clicked();

    void on_mainwindow_quit_clicked();

private:
    Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
